package work.xkong.mapper;

import org.apache.ibatis.annotations.Param;
import work.xkong.common.ResponseRest;
import work.xkong.entity.Course;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import work.xkong.vo.inputvo.CourseSelectInputVo;
import work.xkong.vo.outputvo.*;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author NuanYang
 * @since 2022-11-21
 */
public interface CourseMapper extends BaseMapper<Course> {

    List<CourseSelectOutputVo> getCourseSelect(CourseSelectInputVo inputVo);

    List<StudentCourseOutputVo> getStudentSelect(CourseSelectInputVo inputVo);

    List<StudentCourseOutputVo> getStudentScore(CourseSelectInputVo inputVo);

    List<CourseTableTime> getCourseTableTime(String studentId);

    List<TeacherCourseOutputVo> getTeacherSelect(CourseSelectInputVo inputVo);

    List<CourseTableTime> getCourseTeacherTableTime(String teacherId);

    List<TeacherCourseSaveOutputVo> getTeacherScore(CourseSelectInputVo inputVo);
}
